﻿package com.duartepeixinho.rotation 
{
	import flash.display.Sprite;
	
	/**
	 * ...
	 * @author Duarte Peixinho
	 */
	public class ball extends Sprite
	{
		public var bounce:Number = -0.8;
		public var vx:Number = 0;
		public var vy:Number = 0;
		public var ax:Number = 0;
		public var ay:Number = 0;
		
		public function ball() 
		{
			graphics.beginFill(0xff0000);
			graphics.drawCircle(0, 0, 25);
			graphics.endFill();
			graphics.lineStyle(1,0x000000);
			graphics.moveTo(0, -25);
			graphics.lineTo(0, 25);
			graphics.moveTo( -25, 0);
			graphics.lineTo(25, 0);
		}
		
	}
	
}